<?php
class omekpi_mdl_employee extends dbeav_model{
    
    function modifier_employee_type($type=''){
        switch($type){
            case 'servicer': return '客服员工';
            case 'packager': return '打包员工';
            case 'pickinger': return '配货员工';
            case 'deliverier': return '发货员工';
            default: return '-';
        }
    }
    
//    function getdump($array){
//   		$res =  $this->db->select("select * from sdb_omekpi_employee where employee_login_name='"
//   		.$array['employee_login_name']."' and employee_type='".$array['employee_type']."'");
//   		return $res;
//   	}
    
}
?>
